package mysql

import "gorm.io/gorm"

type Answer struct {
	gorm.Model
	UserId    int64  `gorm:"type:int(11);not null;comment:用户id"`
	ProblemId int64  `gorm:"type:int(11);not null;comment:提问帖子id"`
	Content   string `gorm:"type:varchar(100);not null;comment:回答评论"`
	User      User
}
